package com.hxzy.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.hxzy.entity.Employee;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

/**
 * 登录成功后返回对象
 */
@ApiModel(value = "登录成功后返回对象")
@Getter
@Setter
public class LoginVO {

    /**
     * 账户信息
     */
    private AccountVO  accountVO;

    @ApiModelProperty(value = "令牌")
    private String token;


    @ApiModelProperty(value = "令牌过期时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date  expiredTime;

}
